package top.fengyulou.xiaofeng.mapper;

import top.fengyulou.xiaofeng.domain.Material;
import top.fengyulou.xiaofeng.dto.MaterialDto;

import java.util.List;

public interface MaterialMapper {
    List<MaterialDto> list(MaterialDto materialDto);

    MaterialDto getById(String id);

    void insert(Material material);

    void update(Material material);

    void delete(String[] ids);
}